package com.example.myapp.Model;

import cn.bmob.v3.BmobObject;

public class Msg extends BmobObject {
    private String author;
    private String other;
    private String content;
    private String Chatkey;
    private int show;
    private String createdAt;

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getOther() {
        return other;
    }

    public void setOther(String other) {
        this.other = other;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getChatkey() {
        return Chatkey;
    }

    public void setChatkey(String chatkey) {
        Chatkey = chatkey;
    }

    public int getShow() {
        return show;
    }

    public void setShow(int show) {
        this.show = show;
    }

    @Override
    public String getCreatedAt() {
        return createdAt;
    }

    @Override
    public void setCreatedAt(String createdAt) {
        this.createdAt = createdAt;
    }

//    public static final int  Received= 0;
//    public static final int Send = 1;
//    private String content;
//    private int type;
//
//    public Msg(String content,int type) {
//        this.content = content;
//        this.type = type;
//    }
//
//    public String getContent() {
//        return content;
//    }
//    public int getType() {
//        return type;
//    }
}
